x86/hvm: introduce hvm_copy_context_and_params
authorTamas K Lengyel <tamas.lengyel@intel.com>
Wed, 5 Feb 2020 12:52:29 +0000 (13:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 5 Feb 2020 12:52:29 +0000 (13:52 +0100)
commit35374483000fa6fb15968c70f4ae1c7a85baaa80
tree05f219c80c0cd9b945fb9759f456af2a25e062ea
parent22f5696e6a6ba328f275f4249886aa739c5c716f
x86/hvm: introduce hvm_copy_context_and_params

Currently the hvm parameters are only accessible via the HVMOP hypercalls. In
this patch we introduce a new function that can copy both the hvm context and
parameters directly into a target domain.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/hvm.h